package com.tony.mindhr.mapper;

import com.tony.mindhr.model.Appraise;

/**
 * Created with IntelliJ IDEA.
 *
 * @Title: AppraiseMapper
 * @Auther: 皮蛋布丁
 * @Date: 2021/04/19/14:01
 * @Description:
 */
public interface AppraiseMapper {

    /**
    * @Description: deleteByPrimaryKey 根据id删除考评信息
    * @Param: [id]
    * @return: int
    * @Author: 皮蛋布丁
    */
    int deleteByPrimaryKey(Integer id);

    /**
    * @Description: insert 新增考评信息
    * @Param: [record]
    * @return: int
    * @Author: 皮蛋布丁
    */
    int insert(Appraise record);

    /**
    * @Description: insertSelective 有选择性的新增考评信息
    * @Param: [record]
    * @return: int
    * @Author: 皮蛋布丁
    */
    int insertSelective(Appraise record);

    /**
    * @Description: selectByPrimaryKey 根绝id获取考评信息
    * @Param: [id]
    * @return: com.tony.mindhr.model.Appraise
    * @Author: 皮蛋布丁
    */
    Appraise selectByPrimaryKey(Integer id);

    /**
    * @Description: updateByPrimaryKeySelective 根绝id有选择性的更新考评信息
    * @Param: [record]
    * @return: int
    * @Author: 皮蛋布丁
    */
    int updateByPrimaryKeySelective(Appraise record);

    /**
    * @Description: updateByPrimaryKey 根据id更新考评信息
    * @Param: [record]
    * @return: int
    * @Author: 皮蛋布丁
    */
    int updateByPrimaryKey(Appraise record);
}
